<table>
  <tbody>
    <tr>
      <th>Id:</th>
      <td><?php echo $crm_compras->getId() ?></td>
    </tr>
    <tr>
      <th>Num factura:</th>
      <td><?php echo $crm_compras->getNumFactura() ?></td>
    </tr>
    <tr>
      <th>Fecha:</th>
      <td><?php echo $crm_compras->getFecha() ?></td>
    </tr>
    <tr>
      <th>Cif:</th>
      <td><?php echo $crm_compras->getCif() ?></td>
    </tr>
    <tr>
      <th>Proveedor:</th>
      <td><?php echo $crm_compras->getProveedorId() ?></td>
    </tr>
    <tr>
      <th>Responsable compra:</th>
      <td><?php echo $crm_compras->getResponsableCompra() ?></td>
    </tr>
    <tr>
      <th>Total:</th>
      <td><?php echo $crm_compras->getTotal() ?></td>
    </tr>
    <tr>
      <th>Empresa:</th>
      <td><?php echo $crm_compras->getEmpresaId() ?></td>
    </tr>
    <tr>
      <th>Created at:</th>
      <td><?php echo $crm_compras->getCreatedAt() ?></td>
    </tr>
    <tr>
      <th>Updated at:</th>
      <td><?php echo $crm_compras->getUpdatedAt() ?></td>
    </tr>
    <tr>
      <th>Validated at:</th>
      <td><?php echo $crm_compras->getValidatedAt() ?></td>
    </tr>
    <tr>
      <th>Is validated:</th>
      <td><?php echo $crm_compras->getIsValidated() ?></td>
    </tr>
    <tr>
      <th>Removed at:</th>
      <td><?php echo $crm_compras->getRemovedAt() ?></td>
    </tr>
    <tr>
      <th>Remove it:</th>
      <td><?php echo $crm_compras->getRemoveIt() ?></td>
    </tr>
  </tbody>
</table>

<hr />

<a href="<?php echo url_for('compras/edit?id='.$crm_compras->getId()) ?>">Edit</a>
&nbsp;
<a href="<?php echo url_for('compras/index') ?>">List</a>
